<?php

class Test extends TPage
{
	public $text;
	
	public function onLoad($param)
	{
		parent::onLoad($param);
		
	}
	
	public function onLoadComplete($param)
	{
		//parent::onLoadComplete($param);
		//$this->CallbackClient->hide($this->no_button);
	}
	
	public function deleteButtonClicked()
	{
		$this->CallbackClient->hide($this->button);
		$this->CallbackClient->show($this->no_button);
		$this->CallbackClient->show($this->yes_button);
	}
	
	public function noButtonClicked()
	{
		$this->CallbackClient->show($this->button);
		$this->CallbackClient->hide($this->no_button);
		$this->CallbackClient->hide($this->yes_button);
	}
	
	public function yesButtonClicked()
	{
		$this->CallbackClient->hide($this->no_button);
		$this->CallbackClient->hide($this->yes_button);
		$this->Response->reload();
	}
}

?>